home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990422-19990725 / 000197_news@columbia.edu _Mon Jun 21 19:46:57 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA25113
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 21 Jun 1999 19:46:56 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA29598
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 21 Jun 1999 17:23:20 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. Message-ID: <376EAC1A.E2E7C8F5@asares.com>
  10. From: Brian Corcoran <corcoran@asares.com>
  11. Subject: Re: kerbang parameters not passed?
  12. Date: Mon, 21 Jun 1999 17:18:18 -0400
  13. Organization: NETPLEX Internet Services - http://www.ntplx.net/
  14. To: kermit.misc@columbia.edu
  15.  
  16. Thanks for the tip -- the '+' solved the problem.
  17.  
  18. However, I'm curious why it did. None of the docs mention it; is it a new
  19. kermit 7.0.195 feature? The sample CKEPAGE.KSC doesn't even have it (and seems
  20. to not work as a result).
  21.  
  22. -Brian
  23.  
  24. Jeffrey Altman wrote:
  25.  
  26. > In article <376E6B68.5B08EB3C@asares.com>,
  27. > Brian Corcoran  <corcoran@asares.com> wrote:
  28. > : Hi,
  29. > :
  30. > : I'm trying to set up a c-kermit script to run from the command line
  31. > : (using the #! notation), but I can't get parameters passed to it. I'm
  32. > : using c-kermit 7.0.195 b7 on Linux 2.2.10.
  33. > :
  34. > : For example, when I run the following script (kerbang-test.ksc hello
  35. > : 1234) from the command line:
  36. > :
  37. > : #!/usr/local/bin/kermit
  38. > : echo begin
  39. > : echo \%0
  40. > : echo \%1
  41. > : echo \%2
  42. > : echo end
  43. > : end
  44. >
  45. > The kerbang script must look like:
  46. >
  47. > #!/usr/local/bin/kermit +
  48. > echo begin
  49. > echo \%0
  50. > echo \%1
  51. > echo \%2
  52. > echo end
  53. > end
  54. >
  55. > Notice the '+' after the path to the executable.
  56. >
  57. >     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  58. >                  The Kermit Project * Columbia University
  59. >               612 West 115th St #716 * New York, NY * 10025
  60. >   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org
  61.